package icu.qx.qc.domain.param;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.ruoyi.system.api.domain.SysUser;
import icu.qx.qc.domain.QcProQuality;
import icu.qx.qc.domain.QcQualityProject;
import icu.qx.qc.domain.gbs.GbsGood;
import icu.qx.qc.domain.pro.ProWorkOrder;
import icu.qx.qc.domain.pro.ProWorkTask;

import java.util.List;

@JsonIgnoreProperties(value = {"handler"})
public class QcProQualityParam extends QcProQuality {
    private static final long serialVersionUID = -3676842043352078777L;

    private GbsGood selectedGood;
    private ProWorkTask selectedOrderTask;
    private ProWorkOrder selectedWorkOrder;
    private SysUser selectedQcPeo;
    private List<QcQualityProject> selectedProjectList;

    @Override
    public String toString() {
        return "QcProQualityParam{" +
                "selectedGood=" + selectedGood +
                ", selectedOrderTask=" + selectedOrderTask +
                ", selectedQcPeo=" + selectedQcPeo +
                ", selectedWorkOrder=" + selectedWorkOrder +
                ", selectedProjectList=" + selectedProjectList +
                "} " + super.toString();
    }

    public List<QcQualityProject> getSelectedProjectList() {
        return selectedProjectList;
    }

    public void setSelectedProjectList(List<QcQualityProject> selectedProjectList) {
        this.selectedProjectList = selectedProjectList;
    }

    public GbsGood getSelectedGood() {
        return selectedGood;
    }

    public void setSelectedGood(GbsGood selectedGood) {
        this.selectedGood = selectedGood;
    }

    public ProWorkTask getSelectedOrderTask() {
        return selectedOrderTask;
    }

    public void setSelectedOrderTask(ProWorkTask selectedOrderTask) {
        this.selectedOrderTask = selectedOrderTask;
    }

    public SysUser getSelectedQcPeo() {
        return selectedQcPeo;
    }

    public void setSelectedQcPeo(SysUser selectedQcPeo) {
        this.selectedQcPeo = selectedQcPeo;
    }

    public ProWorkOrder getSelectedWorkOrder() {
        return selectedWorkOrder;
    }

    public void setSelectedWorkOrder(ProWorkOrder selectedWorkOrder) {
        this.selectedWorkOrder = selectedWorkOrder;
    }
}
